﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="frmImpresionNomina.aspx.cs" Inherits="UI.Secretaria.frmImpresionNomina" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style3
        {
            text-align: left;
        }
        .style4
        {
            height: 43px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table class="BTabla">
        <tr>
            <td>
                <table class="style1" style="width: 101%">
                    <tr>
                        <td class="filaTabla" colspan="9">
                            Consulta de Nóminas
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                        </td>
                        <td class="style6">
                        </td>
                        <td class="style14">
                        </td>
                        <td>
                        </td>
                        <td class="style10">
                        </td>
                        <td class="style12">
                        </td>
                        <td class="style2">
                        </td>
                        <td class="style2">
                        </td>
                        <td class="style2">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td class="style4">
                        </td>
                        <td class="style4">
                            <asp:Label ID="Label1" runat="server" Text="Semestre"></asp:Label>
                        </td>
                        <td class="style4">
                            <asp:DropDownList ID="ddlSemestre" runat="server" Width="98px" Height="20px">
                            </asp:DropDownList>
                        </td>
                        <td class="style4">
                            <asp:Label ID="Label2" runat="server" Text="Grupo/Especialidad"></asp:Label>
                        </td>
                        <td class="style4">
                            <asp:DropDownList ID="ddlEspecialidad" runat="server" Width="200px" Height="20px">
                            </asp:DropDownList>
                        </td>
                        <td class="style4">
                            <asp:Label ID="Label3" runat="server" Text="Ciclo"></asp:Label>
                        </td>
                        <td class="style4">
                            <asp:DropDownList ID="ddlCiclo" runat="server" Width="82px" Height="20px">
                                <asp:ListItem>--Todos--</asp:ListItem>
                                <asp:ListItem>1</asp:ListItem>
                                <asp:ListItem>2</asp:ListItem>
                                <asp:ListItem>3</asp:ListItem>
                                <asp:ListItem>4</asp:ListItem>
                                <asp:ListItem>5</asp:ListItem>
                                <asp:ListItem>6</asp:ListItem>
                                <asp:ListItem>7</asp:ListItem>
                                <asp:ListItem>8</asp:ListItem>
                                <asp:ListItem>9</asp:ListItem>
                                <asp:ListItem>10</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td class="style4">
                            <asp:Button ID="Button1" runat="server" Height="34px" Text="Buscar" Width="88px"
                                OnClick="Button1_Click" />
                        </td>
                        <td class="style4">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td class="style16" colspan="4">
                            <asp:Label ID="lblMensaje" runat="server" ForeColor="Red" Style="font-family: Arial"></asp:Label>
                        </td>
                        <td class="style13">
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                            <asp:CheckBox ID="checkBoxPracticaDocente" runat="server" 
                                Text="Solo Practica Docente" />
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <table style="width: 876px">
        <tr>
            <td align="center" class="style3">
                <asp:GridView ID="grvNomina" runat="server" Caption="Listado de Nóminas" AutoGenerateColumns="False"
                    Width="750px" OnSelectedIndexChanged="grvNomina_SelectedIndexChanged" OnRowCommand="grvNomina_RowCommand"
                    DataKeyNames="semestre,GRUPO,CICLO,flag_confirmado,Flag_Grupo">
                    <Columns>
                        <asp:BoundField DataField="semestre" HeaderText="Semestre"></asp:BoundField>
                        <asp:BoundField DataField="GRUPO" HeaderText="Grupo/Especialidad">
                            <ItemStyle HorizontalAlign="Left" />
                        </asp:BoundField>
                        <asp:BoundField DataField="ciclo" HeaderText="Ciclo"></asp:BoundField>
                        <asp:BoundField DataField="flag_grupo" HeaderText="Grupo" Visible="False" />
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:LinkButton ID="LinkButton2" runat="server" CommandName="PDF">PDF</asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:LinkButton ID="LinkButton1" runat="server" CommandName="word">Word</asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="Flag_Grupo" HeaderText="Flag_Grupo" Visible="False" />
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
    </table>
</asp:Content>
